Optimal. Leaf size=56 \[ \frac {\sqrt {x-1}}{8 (x+1)}-\frac {\sqrt {x-1}}{2 (x+1)^2}+\frac {\tan ^{-1}\left (\frac {\sqrt {x-1}}{\sqrt {2}}\right )}{8 \sqrt {2}} \]
________________________________________________________________________________________
Rubi [A] time = 0.01, antiderivative size = 56, normalized size of antiderivative = 1.00, number of steps used = 4, number of rules used = 4, integrand size = 13, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.308, Rules used = {47, 51, 63, 203} \begin {gather*} \frac {\sqrt {x-1}}{8 (x+1)}-\frac {\sqrt {x-1}}{2 (x+1)^2}+\frac {\tan ^{-1}\left (\frac {\sqrt {x-1}}{\sqrt {2}}\right )}{8 \sqrt {2}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 47
Rule 51
Rule 63
Rule 203
Rubi steps
\begin {align*} \int \frac {\sqrt {-1+x}}{(1+x)^3} \, dx &=-\frac {\sqrt {-1+x}}{2 (1+x)^2}+\frac {1}{4} \int \frac {1}{\sqrt {-1+x} (1+x)^2} \, dx\\ &=-\frac {\sqrt {-1+x}}{2 (1+x)^2}+\frac {\sqrt {-1+x}}{8 (1+x)}+\frac {1}{16} \int \frac {1}{\sqrt {-1+x} (1+x)} \, dx\\ &=-\frac {\sqrt {-1+x}}{2 (1+x)^2}+\frac {\sqrt {-1+x}}{8 (1+x)}+\frac {1}{8} \operatorname {Subst}\left (\int \frac {1}{2+x^2} \, dx,x,\sqrt {-1+x}\right )\\ &=-\frac {\sqrt {-1+x}}{2 (1+x)^2}+\frac {\sqrt {-1+x}}{8 (1+x)}+\frac {\tan ^{-1}\left (\frac {\sqrt {-1+x}}{\sqrt {2}}\right )}{8 \sqrt {2}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [C] time = 0.01, size = 28, normalized size = 0.50 \begin {gather*} \frac {1}{12} (x-1)^{3/2} \, _2F_1\left (\frac {3}{2},3;\frac {5}{2};\frac {1-x}{2}\right ) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
IntegrateAlgebraic [A] time = 0.06, size = 43, normalized size = 0.77 \begin {gather*} \frac {\sqrt {x-1} (x-3)}{8 (x+1)^2}+\frac {\tan ^{-1}\left (\frac {\sqrt {x-1}}{\sqrt {2}}\right )}{8 \sqrt {2}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 1.12, size = 46, normalized size = 0.82 \begin {gather*} \frac {\sqrt {2} {\left (x^{2} + 2 \, x + 1\right )} \arctan \left (\frac {1}{2} \, \sqrt {2} \sqrt {x - 1}\right ) + 2 \, \sqrt {x - 1} {\left (x - 3\right )}}{16 \, {\left (x^{2} + 2 \, x + 1\right )}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [A] time = 1.04, size = 37, normalized size = 0.66 \begin {gather*} \frac {1}{16} \, \sqrt {2} \arctan \left (\frac {1}{2} \, \sqrt {2} \sqrt {x - 1}\right ) + \frac {{\left (x - 1\right )}^{\frac {3}{2}} - 2 \, \sqrt {x - 1}}{8 \, {\left (x + 1\right )}^{2}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.01, size = 40, normalized size = 0.71 \begin {gather*} \frac {\sqrt {2}\, \arctan \left (\frac {\sqrt {x -1}\, \sqrt {2}}{2}\right )}{16}+\frac {\frac {\left (x -1\right )^{\frac {3}{2}}}{8}-\frac {\sqrt {x -1}}{4}}{\left (x +1\right )^{2}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [A] time = 3.03, size = 43, normalized size = 0.77 \begin {gather*} \frac {1}{16} \, \sqrt {2} \arctan \left (\frac {1}{2} \, \sqrt {2} \sqrt {x - 1}\right ) + \frac {{\left (x - 1\right )}^{\frac {3}{2}} - 2 \, \sqrt {x - 1}}{8 \, {\left ({\left (x - 1\right )}^{2} + 4 \, x\right )}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 0.04, size = 45, normalized size = 0.80 \begin {gather*} \frac {\sqrt {2}\,\mathrm {atan}\left (\frac {\sqrt {2}\,\sqrt {x-1}}{2}\right )}{16}-\frac {\frac {\sqrt {x-1}}{4}-\frac {{\left (x-1\right )}^{3/2}}{8}}{4\,x+{\left (x-1\right )}^2} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [A] time = 2.61, size = 167, normalized size = 2.98 \begin {gather*} \begin {cases} \frac {\sqrt {2} i \operatorname {acosh}{\left (\frac {\sqrt {2}}{\sqrt {x + 1}} \right )}}{16} - \frac {i}{8 \sqrt {-1 + \frac {2}{x + 1}} \sqrt {x + 1}} + \frac {3 i}{4 \sqrt {-1 + \frac {2}{x + 1}} \left (x + 1\right )^{\frac {3}{2}}} - \frac {i}{\sqrt {-1 + \frac {2}{x + 1}} \left (x + 1\right )^{\frac {5}{2}}} & \text {for}\: \frac {2}{\left |{x + 1}\right |} > 1 \\- \frac {\sqrt {2} \operatorname {asin}{\left (\frac {\sqrt {2}}{\sqrt {x + 1}} \right )}}{16} + \frac {1}{8 \sqrt {1 - \frac {2}{x + 1}} \sqrt {x + 1}} - \frac {3}{4 \sqrt {1 - \frac {2}{x + 1}} \left (x + 1\right )^{\frac {3}{2}}} + \frac {1}{\sqrt {1 - \frac {2}{x + 1}} \left (x + 1\right )^{\frac {5}{2}}} & \text {otherwise} \end {cases} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________